var webContext = location.pathname,MainViewport;
Ext.onReady(function(){
	webContext = webContext.substring(0,webContext.indexOf('/', 1)+1);
	Ext.setGlyphFontFamily("FontAwesome");
	Ext.Loader.setConfig({
		disableCaching : true,// 浏览器缓存 开发模式 默认开启	
	});
	Ext.application({
		appFolder : 'extjs',
		name: 'App',
	    requires: [
           'Util.UtilStatic_','Util.Request'
	    ],
	    paths : {
	    	'plugin' : 'extjs/plugin',
	    	'Util' : 'extjs/util',
	    	'Ext.ux' : '/static/extjs4/src/ux'
	    },
    	launch: function() {
    		MainViewport = Ext.create('App.Main');
        }
	});
});